package com.rdzn.mall.portal.service;

import com.github.binarywang.wxpay.bean.notify.WxPayOrderNotifyResult;
import com.github.binarywang.wxpay.exception.WxPayException;
import com.rdzn.mall.center.entity.OmsOrder;
import com.rdzn.mall.portal.domain.OrderPrepayReturn;

import javax.servlet.http.HttpServletRequest;
import java.io.IOException;
import java.util.List;

public interface IPayService {

    OrderPrepayReturn prepay(Integer orderId);

    WxPayOrderNotifyResult payNotify(Integer type, HttpServletRequest request) throws WxPayException, IOException;

    List<OmsOrder> checkAllPayStatus(Integer memberId);

    OmsOrder checkPayStatus(Integer orderId);
}
